import {
  get,
  post
} from '../utils/http'
import env from '../config/env'


export function userInfo() {
  return get(`${env.API_URL}/user/sysUser/info`)
}

export function updateUserInfo(params) {
  return post(`${env.API_URL}/user/sysUser/updateUserInfo`, params)
}